home *** CD-ROM | disk | FTP | other *** search
/ PC Zone 96 / PC Zone #096.7z / Dppcz1200.mdf / Demos / Gunlok / data1.cab / Program_Executable_Files / scripts / Training_Level.gls < prev    next >
Text File  |  2000-09-09  |  8KB  |  394 lines

  1. /************/
  2. /* INCLUDES */
  3. /************/
  4.  
  5. // n.b. when multiple inclusion is prevented some of these will be automatically included by others as required
  6.  
  7. // default things to inherit our objects from
  8.  
  9. #include "defaults.gsh"
  10.  
  11. // good guys
  12.  
  13. #include "frend.gsh"
  14. #include "hark.gsh"
  15. #include "gunlok.gsh"
  16. #include "elint.gsh"
  17.  
  18. // bad guys
  19.  
  20. #include "drone.gsh"
  21. //#include "walking_mine.gsh"
  22. //#include "scythor.gsh"
  23. #include "sneeker.gsh"
  24. //#include "adversor.gsh"
  25. //#include "bombhead.gsh"
  26. //#include "pulsax.gsh"
  27. #include "pulsox.gsh"
  28. //#include "obliteron.gsh"
  29. #include "archore.gsh"
  30.  
  31. // neutral things
  32.  
  33. //#include "robodozer.gsh"
  34. //#include "tumbleweed.gsh"
  35. //#include "crate.gsh"
  36. //#include "satellite_wall_frag.gsh"
  37. //#include "superbox.gsh"
  38. //#include "walln_multifrag.gsh"
  39. #include "blobarrelfrag.gsh"
  40. #include "technocrate.gsh"
  41. //#include "compounds.gsh"
  42.  
  43. // fires
  44.  
  45. #include "carfire.gsh"
  46. #include "oilfire.gsh"
  47. #include "redlight.gsh"
  48.  
  49. /*********/
  50. /* NOTES */
  51. /*********/
  52.  
  53. /**********/
  54. /* SHAPES */
  55. /**********/
  56.  
  57. // world objects
  58. shape Shp_TECHNOBOX_A
  59. {
  60.     file "objects/technobox.rif"
  61.     name "TECHNOBOX"
  62. }
  63. shape Shp_TECHNOBOX_B
  64. {
  65.     file "objects/technobox.rif"
  66.     name "TECHNOBOX"
  67. }
  68.  
  69.  
  70. shape Shp_TOWERLIFTA
  71. {
  72.     file "levels\Training_Level.rif"
  73.     name "TOWERLIFTA"
  74. }
  75. shape Shp_liftswitcha
  76. {
  77.     file "objects\LIFTSWITCH F.rif"
  78.     name "LIFTSWITCH F"
  79. }
  80. hierarchy Hcy_liftswitchaa
  81. {
  82.     file "objects\LIFTSWITCH E.rif"
  83.     name "LIFTSWITCH E"
  84. }
  85. hierarchy Hcy_liftswitchab
  86. {
  87.     file "objects\LIFTSWITCH E.rif"
  88.     name "LIFTSWITCH E"
  89. }
  90.  
  91. shape Shp_Garbage_A
  92. {
  93.     file "objects\GARBAGE A.rif"
  94.     name "garbage A"
  95. }
  96. shape Shp_Garbage_B
  97. {
  98.     file "objects\GARBAGE B.rif"
  99.     name "garbage B"
  100. }
  101. shape Shp_Garbage_C
  102. {
  103.     file "objects\GARBAGE C.rif"
  104.     name "garbage C"
  105. }
  106. shape Shp_Garbage_D
  107. {
  108.     file "objects\GARBAGE D.rif"
  109.     name "garbage D"
  110. }
  111. shape Shp_Garbage_E
  112. {
  113.     file "objects\GARBAGE E.rif"
  114.     name "garbage E"
  115. }
  116. shape Shp_Garbage_F
  117. {
  118.     file "objects\GARBAGE F.rif"
  119.     name "garbage F"
  120. }
  121. shape Shp_Garbage_G
  122. {
  123.     file "objects\GARBAGE G.rif"
  124.     name "garbage G"
  125. }
  126. shape Shp_Garbage_H
  127. {
  128.     file "objects\GARBAGE H.rif"
  129.     name "garbage H"
  130. }
  131. shape Shp_Garbage_I
  132. {
  133.     file "objects\GARBAGE I.rif"
  134.     name "garbage I"
  135. }
  136.  
  137. /**********/
  138. /* ROLES  */
  139. /**********/
  140.  
  141. // World objects.
  142.  
  143. role Rol_TECHNOBOX_A : Rol_PlacedObject
  144. {
  145.     shape                 Shp_TECHNOBOX_A
  146.     destructibility        Des_Explode
  147.     identifier            "area4unshieldedtechnobox"
  148.     armour                100
  149.     ai                    blocker
  150. }
  151.  
  152. role Rol_TECHNOBOX_B : Rol_PlacedObject
  153. {
  154.     shape                 Shp_TECHNOBOX_B
  155. //    destructibility        Des_Explode
  156. //    identifier            "technobox_b"
  157.     ai                    blocker
  158. }
  159.  
  160. role Rol_TOWERLIFTA : Rol_PlacedObject
  161. {
  162.     shape                        Shp_TOWERLIFTA
  163.     destination selectable        yes
  164.     ai                            track object
  165. }
  166. role Rol_liftswitcha : Rol_PlacedObject
  167. {
  168.     shape                        Shp_liftswitcha
  169.     destination selectable        yes
  170.     destroy after collection    no
  171.     ai                            pickup
  172. }
  173.  
  174. role Rol_liftswitchaa : Rol_PlacedObject
  175. {
  176.     shape                        Hcy_liftswitchaa
  177.     destination selectable        yes
  178.     destroy after collection    no
  179.     ai                            pickup
  180. }
  181.  
  182. role Rol_liftswitchab : Rol_liftswitchaa
  183. {
  184. }
  185.  
  186. role Rol_Garbage_A_HasItem : Rol_DefaultGarbage_NoMsg
  187. {
  188.     shape                        Shp_Garbage_A
  189.     identifier                    "garbwithitem"
  190. }
  191.  
  192. role Rol_Garbage_B_HasItem : Rol_Garbage_A_HasItem
  193. {
  194.     shape                        Shp_Garbage_B
  195. }
  196.  
  197. role Rol_Garbage_C_HasItem : Rol_Garbage_A_HasItem
  198. {
  199.     shape                        Shp_Garbage_C
  200. }
  201.  
  202. role Rol_Garbage_C : Rol_DefaultGarbage
  203. {
  204.     shape    Shp_Garbage_C
  205. }
  206. role Rol_Garbage_D : Rol_DefaultGarbage
  207. {
  208.     shape    Shp_Garbage_D
  209. }
  210. role Rol_Garbage_E : Rol_DefaultGarbage
  211. {
  212.     shape    Shp_Garbage_E
  213. }
  214. role Rol_Garbage_F : Rol_DefaultGarbage
  215. {
  216.     shape    Shp_Garbage_F
  217. }
  218. role Rol_Garbage_G : Rol_DefaultGarbage
  219. {
  220.     shape    Shp_Garbage_G
  221. }
  222. role Rol_Garbage_H : Rol_DefaultGarbage
  223. {
  224.     shape    Shp_Garbage_H
  225. }
  226. role Rol_Garbage_I : Rol_DefaultGarbage
  227. {
  228.     shape Shp_Garbage_I
  229. }
  230.  
  231. role Rol_Area2Barrel : Rol_trainingblobarrel
  232. {
  233.     identifier        "area2barrel"
  234.     armour            100
  235. }
  236.  
  237. role Rol_Area3Barrel : Rol_trainingblobarrel
  238. {
  239.     identifier        "area3barrel"
  240.     armour            100
  241. }
  242.  
  243. /***********/
  244. /* THE MAP */
  245. /***********/
  246.  
  247. map /* _THE_ map - doesnt need a label */
  248. {
  249.     file "levels\Training_Level.rif"
  250.     name "Land"
  251.     bitmap "bitmaps\training_map.rim"
  252.     camera plane none
  253.     max camera distance 100 // TBD exactly
  254.     shadow object rif "levels\Training_Level_shadow.rif"
  255.     shadow object name "shadow_Land"
  256.  
  257.     // PLAYERS TROOPS
  258.  
  259.     use Rol_GunLok in team 1 for
  260.         "goodieA" as "Gunlok"
  261.  
  262.     // AI'S TROOPS
  263.  
  264.     // NEUTRAL OBJECTS
  265.  
  266.     use Rol_TOWERLIFTA in team 0 for
  267.         "TOWERLIFTA" as "lift_a"
  268.  
  269.     use Rol_liftswitcha in team 0 for
  270.         "liftswitcha" as "liftswitcha"
  271.  
  272.     use Rol_liftswitchaa in team 0 for
  273.         "liftswitchaa" as "liftswitchaa"
  274.     use Rol_liftswitchab in team 0 for
  275.         "liftswitchab" as "liftswitchab"
  276.  
  277.     use Rol_Area2Barrel in team 2 for
  278.         "blobarrela" as "area2barrel1" and
  279.         "blobarrelb" as "area2barrel2" and
  280.         "blobarrelc" as "area2barrel3" and
  281.         "blobarreld" as "area2barrel4"
  282.     use Rol_Area3Barrel in team 2 for
  283.         "blobarrele" as "area3barrel1" and
  284.         "blobarrelf" as "area3barrel2" and
  285.         "blobarrelg" as "area3barrel3" and
  286.         "blobarrelh" as "area3barrel4"
  287.     use Rol_trainingblobarrel in team 2 for
  288.         "blobarreli" and
  289.         "blobarrelj" and
  290.         "blobarrelk" and
  291.         "blobarrell" and
  292.         "blobarrelm" and
  293.         "blobarreln" and
  294.         "blobarrelo"
  295.  
  296.     use Rol_Garbage_A_HasItem in team 0 for
  297.         "garbage AA" as "garbage_aa" and
  298.         "garbage AB" as "garbage_ab" and
  299.         "garbage AC" as "garbage_ac" 
  300.     use Rol_Garbage_B_HasItem in team 0 for
  301.         "garbage BA" as "garbage_ba" and
  302.         "garbage BB" as "garbage_bb"
  303.     use Rol_Garbage_C_HasItem in team 0 for
  304.         "garbage CA" as "garbage_ca"
  305.     use Rol_Garbage_C in team 0 for
  306.         "garbage CB" as "garbage_cb"
  307.     use Rol_Garbage_D in team 0 for
  308.         "garbage DA" as "garbage_da"
  309.     use Rol_Garbage_D in team 0 for
  310.         "garbage DB" as "garbage_db"
  311.     use Rol_Garbage_E in team 0 for
  312.         "garbage EA" as "garbage_ea"
  313.     use Rol_Garbage_E in team 0 for
  314.         "garbage EB" as "garbage_eb"
  315.     use Rol_Garbage_F in team 0 for
  316.         "garbage FA" as "garbage_fa"
  317.     use Rol_Garbage_F in team 0 for
  318.         "garbage FB" as "garbage_fb"
  319.     use Rol_Garbage_G in team 0 for
  320.         "garbage GA" as "garbage_ga"
  321.     use Rol_Garbage_G in team 0 for
  322.         "garbage GB" as "garbage_gb"
  323.     use Rol_Garbage_H in team 0 for
  324.         "garbage HA" as "garbage_ha"
  325.     use Rol_Garbage_H in team 0 for
  326.         "garbage HB" as "garbage_hb"
  327.     use Rol_Garbage_I in team 0 for
  328.         "garbage IA" as "garbage_ia"
  329. /*
  330.     use Rol_Compound_b in team 0 for
  331.         "COMPOUND B" as "compound_b"
  332.     use Rol_Compound_b in team 0 for
  333.         "COMPOUND BB" as "compound_bb"
  334.     use Rol_Compound_b in team 0 for
  335.         "COMPOUND BC" as "compound_bc"
  336.     use Rol_Compound_b in team 0 for
  337.         "COMPOUND BD" as "compound_bd"
  338.     use Rol_Compound_b in team 0 for
  339.         "COMPOUND BE" as "compound_be"
  340.     use Rol_Compound_c in team 0 for
  341.         "COMPOUND CA" and
  342.         "COMPOUND CB" and
  343.         "COMPOUND CC" and
  344.         "COMPOUND CD" and
  345.         "COMPOUND CE" and
  346.         "COMPOUND CF" and
  347.         "COMPOUND CG" and
  348.         "COMPOUND CH" and
  349.         "COMPOUND CI" and
  350.         "COMPOUND CJ" and
  351.         "COMPOUND CK" and
  352.         "COMPOUND CL" and
  353.         "COMPOUND CM" and
  354.         "COMPOUND CN" and
  355.         "COMPOUND CO" and
  356.         "COMPOUND CP" and
  357.         "COMPOUND CQ" and
  358.         "COMPOUND CR" and
  359.         "COMPOUND CS" and
  360.         "COMPOUND CT" and
  361.         "COMPOUND CU" and
  362.         "COMPOUND CV" and
  363.         "COMPOUND CW" and
  364.         "COMPOUND CX" and
  365.         "COMPOUND CY" and
  366.         "COMPOUND CZ" and
  367.         "COMPOUND CAA" and
  368.         "COMPOUND CAB" and
  369.         "COMPOUND CAC" and
  370.         "COMPOUND CAD" and
  371.         "COMPOUND CAE" and
  372.         "COMPOUND CAF" and
  373.         "COMPOUND CAG"
  374.     use Rol_Compound_d in team 0 for
  375.         "COMPOUND DA" and
  376.         "COMPOUND DB" 
  377.     use Rol_Compound_e in team 0 for
  378.         "COMPOUND EA"
  379. */
  380.     use Rol_TECHNOBOX_A in team 2 for
  381.         "COMPGENA" as "compgena"
  382.     use Rol_TECHNOBOX_B in team 2 for
  383.         "COMPGENB" as "compgenb"
  384.     use Rol_TECHNOBOX_B in team 2 for
  385.         "COMPGENC" as "compgenc"
  386.  
  387.     use Rol_technocrate in team 0 for
  388.         "Technocratea" and
  389.         "Technocrateb" and
  390.         "Technocratec" and
  391.         "Technocrated" and
  392.         "Technocratee" and
  393.         "Technocratef"
  394. }